package com.atguigu.edu.realtime.common.bean;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class ProvinceTransactionBean {

    // 窗口起始时间
    @JSONField(ordinal = 1)
    private String stt;
    // 窗口结束时间
    @JSONField(ordinal = 2)
    private String edt;
    // 当天日期
    @JSONField(ordinal = 3)
    private String curDate;

    @JSONField(ordinal = 4)
    String province;

    @JSONField(ordinal = 5)
    Double amount;

    @JSONField(ordinal = 6)
    Long orderUser;

    @JSONField(ordinal = 7)
    Long orderCount;

    @JSONField(serialize = false)
    Long ts;
}
